package com.ncloud.system.constant;

public class UserConstant {

	
	public static final String USER_STATE_DELETED = "0"; //删除
	public static final String USER_STATE_NORMAL = "1"; //正常
	public static final String USER_STATE_LOCK = "2"; //锁定
	
	
	/************************Redis*********************************/
	public static Long _USER_INFO_USERNAME_EXPIRETIME = (long) (7 * 24 * 60 * 60);
	public static Long _ERROR_TIME_EXPIRETIME = (long) (24 * 60 * 60);
	public static Long _USER_AUTH_EXPIRETIME = (long) (24 * 60 * 60);
	public static String REDIS_USER_INFO_PREFIX = "_USER_INFO_";
	public static String REDIS_ERROR_TIME_PREFIX = "_ERROR_TIME_";
	public static String REDIS_USER_AUTH_PREFIX = "_AUTH_CODE_";
	

}
